package com.arpa.wms.domain.dto;


import com.arpa.wms.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 移位DTO
 * </p>
 *
 * @author LEO
 * @since 2020-08-24
 */
@Data
@ApiModel(value="MoveDTO对象", description="移位")
public class MoveDTO extends BasicEntity {


    @ApiModelProperty(value = "移位单号")
    private String code;

    @ApiModelProperty(value = "仓库")
    private String warehouseCode;

    @ApiModelProperty(value = "入驻商")
    private String shipmentCode;

    @ApiModelProperty(value = "所属机构Code")
    private String groupCode;

    @ApiModelProperty(value = "登录仓库授权该账号的货主集合")
    private List<String> shipmentCodes;

    @ApiModelProperty(value = "授权该账号的仓库集合")
    private List<String> warehouseCodes;

    @ApiModelProperty(value = "总数量")
    private BigDecimal totalQuantity;

    @ApiModelProperty(value = "总数量上限")
    private BigDecimal totalQuantityCeiling;

    @ApiModelProperty(value = "总数量下限")
    private BigDecimal totalQuantityFloor;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "审核意见")
    private String auditMind;

    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

    @ApiModelProperty(value = "下发状态:0未下发，1已下发；")
    private Integer issue;

    @Deprecated
    @ApiModelProperty(value = "明细")
    private List<MoveItemDTO> moveItemDTOList = new ArrayList<>();

    @ApiModelProperty(value = "明细")
    private List<MoveRegisterDTO> moveRegisterDTOList = new ArrayList<>();
}
